package com.xiangban.yanglaodajie_platform.service;

import com.xiangban.yanglaodajie_platform.dao.TeacherMapper;
import com.xiangban.yanglaodajie_platform.entity.Teacher;
import com.xiangban.yanglaodajie_platform.entity.TeacherShop;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TeacherService {
    @Autowired
    private TeacherMapper teacherMapper;
    List<Teacher> getClassByPhone(Teacher teacher){
        return teacherMapper.getClassByPhone(teacher);

    }
    List<TeacherShop> getBindClassByTeacher(List<Teacher> teacher){
        return teacherMapper.getBindClassByTeacher(teacher);

    }
}
